package com.cqndt.disaster.device.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.cqndt.disaster.device.domain.TabBasicWithBLOBs;

@Data
@EqualsAndHashCode(callSuper=false)
public class TabBasicVo extends TabBasicWithBLOBs{
	private static final long serialVersionUID = -4451866720443171117L;
	/** 页数 */
    private Integer page=1;
    /** 条数 */
    private Integer limit=10;

    /** 区域等级 */
    private String level;
    /** 区域编码 */
    private String areaCode;
    /**  区域名称 */
    private String areaName;
    /** 查询条件(前台json组装) */
    private String sqlStr;

    @SuppressWarnings("unused")
	private String getAreaCodeSplit(){
        if(null != getAreaCode()){
            return getAreaCode().substring(0,2);
        }
        return null;
    }
}